package org.edu.modules.stu.zhsz.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.util.Date;

/**
 * entity-文体获奖表
 */
@TableName("ve_stu_literary_award")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="文体获奖表对象", description="ve_stu_literary_award")
public class VeStuLiteraryAward extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "项目Id")
        private Integer itemId;

    @TableField
    @ApiModelProperty(value = "备注")
    @Length(max = 65535)
        private String remark;

    @TableField
    @ApiModelProperty(value = "获奖等级")
        private Integer grade;

    @TableField
    @ApiModelProperty(value = "获奖人Id或获奖班级Id")
    @Length(max = 32)
        private String winnerId;

    @TableField
    @ApiModelProperty(value = "获奖人Id或获奖班级Id")
    @Length(max = 255)
        private String winnerName;

    @TableField
    @ApiModelProperty(value = "专业")
        private String specId;

    @TableField
    @ApiModelProperty(value = "院系Id")
        private String falId;

    @TableField
    @ApiModelProperty(value = "审核状态（0：申请中，1：通过，2：不通过）")
        private Integer auditStatus;

    @TableField
    @ApiModelProperty(value = "审核人")
    @Length(max = 32)
        private String auditUserId;

    @TableField
    @ApiModelProperty(value = "")
    @Length(max = 255)
        private String auditUserName;

    @TableField
    @ApiModelProperty(value = "审核时间")
    @JsonFormat(timezone="GMT+8",locale="zh",  pattern="yyyy-MM-dd hh:mm:ss")
        private Date auditTime;
}
